//
//  AutionCategory.swift
//  jiaoyi
//
//  Created by 易万军 on 2018/10/24.
//  Copyright © 2018 wjk. All rights reserved.
//

import Foundation
import ObjectMapper

//"id": 0,
//"name": "全部",
//"is_default": 2,
//"selected": true

struct AutionCategory: Mappable {
    var id: Int?
    var name: String?
    var isDefault: Int?
    var selected: Bool?
    
    init?(map: Map) {
        
    }
    mutating func mapping(map: Map) {
        id          <- map["id"]
        name        <- map["name"]
        isDefault   <- map["isDefault"]
        selected    <- map["selected"]
    }
}
